package com.jicheng.entity;

import com.jicheng.dto.data.task.Template;
import com.jicheng.ext.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@Table(name = "tb_task")
public class Task implements Serializable {
    /**
     * ID
     */
    @Id
    private String id;
    //终端id
    @Column(name = "app_id")
    private String appId;
    @Column(name = "app_user")
    private String appUser;
    //任务名称
    @Column(name = "mission_name")
    private String missionName;
    //任务类型
    @Column(name = "mission_type")
    private int missionType;
    //监督工作
    @Column(name = "supervision_work")
    private String supervisionWork;
    //执行人
    @Column(name = "executor")
    private String executor;
    //任务状态
    @Column(name = "mission_status")
    private char missionStatus;
    //所属业务
    @Column(name = "business")
    private String business;
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "finished_time")
    private Date finishedTime;
}